Si estas utilizando postgres o oracle, puedes utilizar la unit procedimiento almacenado ubicando en la base de datos una función con la sentencia truncate y pasar en un input el nombre de la tabla, en postgres el procedimiento quedaría:
CREATE OR REPLACE FUNCTION procedimientos(tablenameString)
RETURNS void AS
$BODY$
begin
truncate tablename
end;